import { defineStore } from "pinia";
import { ref } from "vue"
const usePermissionStore = defineStore('permission', () => {
    const sidebarRouters = ref([])
    const setSidebarRouters = (routes) => {
        sidebarRouters.value = routes
    }
    return { setSidebarRouters, sidebarRouters }
})
export default usePermissionStore